[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Chr Returns the Character with the Given Code
Chr(ACode : Integer) : Char;
Returns the character having the ASCII code ACode. ACode should be in
the range 0..255. Note that ACode = Ord(Chr(ACode)).
ACode An integer value (constant, variable, function call,
expression).
Limits: if range checking is enabled {$R+} and ACode is
outside the range 0..255, runtime error 145 ($91)
occurs; if {$R-}, the upper byte of ACode is ignored.
-------------------------------- Example ---------------------------------
Ch := Chr(66); { Ch = 'B' }
See Also:
Ord
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson